package com.jboost.modules.system.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
* 
* @TableName pdm_pl
*/
@TableName("pdm_bom")
@Data
public class PdmBom extends BaseEntity implements Serializable {

    /**
    * 
    */
    @TableId(type = IdType.ASSIGN_ID)
    @NotBlank(message="[]不能为空")
    @Size(max= 250,message="编码长度不能超过250")
    @ApiModelProperty("")
    @Length(max= 250,message="编码长度不能超过250")
    private String id;
    private String qhjd;
    private String wlbm;
    private String ysdzwmc;
    private String type;
    private String kh;
}
